Release 10.1A: OpenEdge Development:
Open Client Introduction and Programming
Adding and deleting procedure files
You can add any 4GL procedure file to an AppObject or SubAppObject definition, provided the compiled (r-code) version of the file is available to ProxyGen through the Propath Components setting. For information on compiling 4GL procedures, see the OpenEdge Development: Progress 4GL Handbook .
To add procedure files to your object definition:
These choices display either the Add Non-persistent Procedures dialog box or the Add Persistent Procedures dialog box for your current Open Client interface object. The user interface is almost identical for the two dialog boxes. Both dialog boxes allow you to:
- Select r-code files under a pathname selected from your Propath Components setting (Propath Selection combo box).
- Specify whether to use the relative pathname of selected procedures as part of the corresponding method name in the Open Client interface (Use Path in Name check box). This helps automatically generate unique method names.
- Request that any directories you select be searched recursively (Perform Recursive Add check box).
- Add the selected files to the Procedures tab folder for the current AppObject or SubAppObject definition (Add button). The procedures you add depend on what files and directories you selected in the Folders tree and Folder Contents list.
The difference between the two dialog boxes is in the execution type of the procedure file that is added. For each non-persistent procedure, ProxyGen generates a method in the Open Client interface. For each persistent procedure, ProxyGen generates a ProcObject class factory method in the Open Client interface, along with a ProcObject definition that encapsulates its internal procedures and user-defined functions.
For information on class factory methods, see OpenEdge Development: .NET Open Clients , OpenEdge Development: Java Open Clients , or OpenEdge Development: Web Services .
After selecting and adding the respective procedure files, any non-persistent procedures appear in the Procedures list, and any persistent procedures appear in the Persistent Procedures list of the Procedures tab folder on the main window.
![]()
To delete procedures from either list in the Procedures tab folder:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |